package Mangos::DB::Mangos::CreatureTemplateAddon;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'creature_template_addon',

    columns => 
    [
        entry     => { type => 'integer', not_null => 1 },
        mount     => { type => 'integer', default => '0', not_null => 1 },
        bytes1    => { type => 'integer', default => '0', not_null => 1 },
        bytes2    => { type => 'integer', default => '0', not_null => 1 },
        emote     => { type => 'integer', default => '0', not_null => 1 },
        moveflags => { type => 'integer', default => '0', not_null => 1 },
        auras     => { type => 'text', length => 65535 },
    ],

    primary_key_columns => [ 'entry' ],
);

1;

package Mangos::DB::Mangos::CreatureTemplateAddon::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::CreatureTemplateAddon' }

__PACKAGE__->make_manager_methods('creature_template_addon');

1;
